package com.example.constant;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 功能描述: TODO <br/>
 * 创建时间: 2016/11/11<br/>
 *
 * @author QiuYang
 */
public enum GeoType {
    POINT("point"),
    LINE("linE");

    private final String mes;

    @JsonCreator
    private GeoType(String mes){
        this.mes = mes;
    }

    public String getMes() {
        return mes;
    }

    @JsonValue
    final String value(){
        return this.mes;
    }
}
